<?php
return array(
	'detailView' => array(
		'attributes' => array(
			'account.account',
			'worker.worker_name',
			'amount',
			'remark',
		),
	),
	'formView' => array(
		'fields' => array(
			'id' => false,
			'fid' => array('hiddenField',array('value'=>$model->fid)),
			'fltid' => array('dropDownList', Yii::app()->enum->options('finance.financeLogType')),
			'ftid' => array('dropDownList', Yii::app()->enum->options('finance.financeType')),
			'remark' => array('textArea',array('rows'=>'3', 'cols'=>'50')),
			'amount' => array('hiddenField',array('value'=>$model->amount)),
			'worker_id' => false,
			'create_time' => false,
		)
	),
	'_import' => array(
		array('*', 'actions.logAudit.passed//*'),
	),
);
?>